package com.md.drcs.dicom.entity;

import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Table(name = "u_study_download")
public class StudyDownloadEntity {

    @Id
    private Integer id;

    private Integer userId;

    private Integer patientId;

    private Integer studyId;

    private String studyIdInPacs;

    private String code;

    private String fileName;

    private String filePath;

    private Integer status; // 检查影像压缩文件准备状态： 0 - 准备中，1 - 压缩完成， -1 - 已删除

    private LocalDateTime expiredTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public Integer getStudyId() {
        return studyId;
    }

    public void setStudyId(Integer studyId) {
        this.studyId = studyId;
    }

    public String getStudyIdInPacs() {
        return studyIdInPacs;
    }

    public void setStudyIdInPacs(String studyIdInPacs) {
        this.studyIdInPacs = studyIdInPacs;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public LocalDateTime getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(LocalDateTime expiredTime) {
        this.expiredTime = expiredTime;
    }
}
